﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace View.MemberForms
{
    public class BorrowingEventArgs : EventArgs
    {
        public Int32? Id { get; set; }

        public Int32? Book { get; set; }

        public Int32? Member { get; set; }

        public DateTime? BorrowingDate { get; set; }

        public DateTime? ReturnedDate { get; set; }

        public BorrowingEventArgs(
            Int32? id,
            Int32? book = null,
            Int32? member = null,
            DateTime? borrowingDate = null,
            DateTime? returnedDate = null
            )
        {
            this.Id = id;
            this.Book = book;
            this.Member = member;
            this.BorrowingDate = borrowingDate;
            this.ReturnedDate = returnedDate;

        }
    }
}
